<template>
  <div class="wrap">
    <van-nav-bar
      title="帮助中心"
      placeholder
      fixed
      left-arrow
      style="background: #fff"
    />
    <div class="wrap_cont">
      <van-cell
        :title="item.title"
        is-link
        v-for="(item, i) in List"
        :key="i"
        @click="toDetail(item)"
      />
    </div>
  </div>
</template>

<script setup>
import { ref } from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
const List = [
  {
    title: "账号如何登录",
  },
  {
    title: "如何下载",
  },
];
const toDetail = (item) => {
  router.push({
    path: "/bangzhu-xq",
  });
};
</script>

<style lang="scss" scoped>
.wrap {
  min-height: 100vh;
  &_cont {
    margin-top: 6px;
  }
}
</style>
